<div name="addOpp">
    <form>
        <div style="margin-top: 15px" class="form-group">
            <div class="row" style="padding-left:15px;padding-right:15px;">
                <label class="col-md-1"  for="oppName">项目名称<span style="color: red">*</span></label>
                <div class="col-md-11">
                    <input class="form-control" type="text" id="oppName" placeholder="" ng-model="addOpp.opportunity.oppName">
                </div>
            </div>
        </div>
        <div style="margin-top: 15px" class="form-group">
            <div class="row" style="padding-left:15px;padding-right:15px;">
                <label class="col-md-1"  for="oppCode">项目代码<span style="color: red">*</span></label>
                <div class="col-md-11">
                    <input class="form-control" type="text" id="oppCode" placeholder="不可重复" ng-model="addOpp.opportunity.oppCode">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="form-group">
                    <label class="col-md-3 control-label" for="attribute">属性</label>
                    <div class="col-md-9">
                        <select class="form-control" id="attribute" ng-model="addOpp.opportunity.attribute">
                            <option value="">请选择</option>
                            <option value="LEAD">LEAD</option>
                            <option value="OPP">OPP</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="form-group">
                    <label class="col-md-3 control-label" for="reality">现状</label>
                    <div class="col-md-9">
                        <select class="form-control" id="reality" ng-model="addOpp.opportunity.reality">
                            <option value="">请选择</option>
                            <option value="OPEN">OPEN</option>
                            <option value="WIN">WIN</option>
                            <option value="LOST">LOST</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="form-group">
                    <label class="col-md-3 control-label" for="type">复杂程度</label>
                    <div class="col-md-9">
                        <select class="form-control" id="type" ng-model="addOpp.opportunity.type">
                            <option value="">请选择</option>
                            <option value="简单">简单</option>
                            <option value="一般">一般</option>
                            <option value="复杂">复杂</option>
                            <option value="很复杂">很复杂</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div style="margin-top: 15px" class="form-group">
            <div class="row" style="padding-left:15px;padding-right:15px;">
                <label class="col-md-1"  for="overview">项目简介</label>
                <div class="col-md-11">
                    <input class="form-control" type="text" id="overview" placeholder="" ng-model="addOpp.opportunity.overview">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="col-md-2 control-label" for="budget">预算</label>
                    <div class="col-md-10">
                        <input class="form-control" type="text" id="budget" placeholder="" ng-model="addOpp.opportunity.budget">
                    </div>
                </div>
            </div>
            <div class="col-md-6">
                <div class="form-group">
                    <label class="col-md-2 control-label" for="expectRevenue">期望收益</label>
                    <div class="col-md-10">
                        <input class="col-sm-10 form-control" type="text" id="expectRevenue" placeholder="" ng-model="addOpp.opportunity.expectRevenue">
                    </div>
                </div>
            </div>
        </div>
        <div style="margin-top: 15px" class="form-group">
            <div class="row" style="padding-left:15px;padding-right:15px;">
                <label class="col-md-1"  for="requirement">项目需求</label>
                <div class="col-md-11">
                    <input class="form-control" type="text" id="requirement" placeholder="" ng-model="addOpp.opportunity.requirement">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="col-md-2 control-label" for="competition">竞争强度</label>
                    <div class="col-md-10">
                        <select class="form-control"  id="competition"  ng-model="addOpp.opportunity.competition">
                            <option value="请选择"></option>
                            <option value="平和">平和</option>
                            <option value="激烈">激烈</option>
                            <option value="很激烈">很激烈</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="col-md-6">
                <div class="form-group">
                    <label class="col-md-2 control-label" for="odds">胜算</label>
                    <div class="col-md-10">
                        <input class="col-sm-10 form-control" type="text" id="odds" placeholder="" ng-model="addOpp.opportunity.odds">
                    </div>
                </div>
            </div>
        </div>
        <div style="margin-top: 15px" class="form-group" ng-repeat="item in addOpp.opportunityDates">
            <div class="row" style="padding-left:15px;padding-right:15px;">
                <label class="col-md-3"  for="addOppDate{{$index}}">{{item.name}}<span style="color: red">*</span></label>
                <div class="col-md-9">
                    <input class="form-control" type="date" id="addOppDate{{$index}}" placeholder="" ng-model="item.date">
                </div>
            </div>
        </div>
        <div style="margin-top: 15px" class="form-group">
            <div class="row" style="padding-left:15px;padding-right:15px;">
                <div class="col-md-4"></div>
                <div class="col-md-1" >
                    <input type="button" class="btn btn-warning" value="重置" ng-click="clear()">
                </div>
                <div class="col-md-1">
                    <input type="button" class="btn btn-success" value="提交" ng-disabled="checkDis()" ng-click="saveOppInfo()">
                </div>
                <div class="col-md-4"></div>
            </div>
        </div>
    </form>
</div>